package com.huixue.cn.ztej.service;

import java.util.List;

import com.huixue.cn.ztej.bean.Menu;

public interface IMenuService {

	public Menu getMenuById(String menuId);

	public boolean isMenuNameExisted(String systemId, String menuName);

	public List<Menu> getMenuBySystemId(String systemId);

	public List<Menu> getMenuByParent(String systemId, String parent);

	public void deleteMenu(String menuId);

	public void deleteMenuByParent(String parent);

	public void saveOrUpdateMenu(Menu menu);

	public void updateInfo(String menuId, String menuType, String menuKey,
			String menuUrl);

	public void changeOrder(String menuId, String menuOrder, String prevId,
			String prevOrder);

	public String getMenuJsonBySystemId(String systemId);
}
